#include"../serve.hpp"

int main()
{
    Buffer buf;
    Buffer buf1;
    
    INF_LOG("HELLO");
     for(int i=0;i<200;i++)
     {
      std::string str="hello!!"+std::to_string(i)+'\n';
         buf.WriteStringAndPush(str);
     }
     std::string tmp;
   while(buf.ReadAbleSize()>0)
    {
            tmp+=buf.GetLineAndPop();
    
    }
    


    // std::cout<<tmp;
  /*   buf.WriteStringAndPush(str);
    buf1.WriteBufferAndPush(buf);
    
    std::cout<<buf.ReadAbleSize()<<std::endl;*/
    return 0;
}